package com.example.practice.class05;

/**
 * @Date 2022/10/10
 * @Author Jonathan
 */
public class Code06 {
    public static void main(String[] args) {

    }


//    private static Info process(Node node) {
//        // base case
//        if (node == null) {
//            return null;
//        }
//        Info leftInfo = process(node.left);
//        Info rightInfo = process(node.right);
//
//        if (leftInfo != null && rightInfo != null) {
//
//        }
//    }


    static class Info {
        // 左结构 + 右结构   
        boolean isEqual;

        public Info(boolean isEqual) {
            this.isEqual = isEqual;
        }
    }

    static class Node {
        Node left;
        Node right;
        int value;

        public Node(int value) {
            this.value = value;
        }

        @Override
        public String toString() {
            return "Node{" +
                    "value=" + value +
                    '}';
        }
    }
}
